package com.appkubes.mall.restful.application.order.order.service.impl;

import com.appkubes.mall.core.entity.MallOrderPlan;
import com.appkubes.mall.core.service.impl.BaseMallOrderPlanServiceImpl;
import com.appkubes.mall.restful.application.order.order.service.OrderPlanService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
@Slf4j
public class OrderPlanServiceImpl extends BaseMallOrderPlanServiceImpl implements OrderPlanService {


    public List<MallOrderPlan> getOrderPlanByOrderKey(String orderKey) {
        MallOrderPlan queryEntity = new MallOrderPlan();
        queryEntity.setOrderKey(orderKey);
        return this.selectListByEntity(queryEntity);
    }
}
